package com.jk.smartelderlycare.dto;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@ToString
@ExcelTarget(value = "出库信息")
@TableName(value = "sys_procurement")

public class SysProcurement implements Serializable {
    private static final long serialVersionUID = 3202449659009329475L;
    @TableId(value = "document_id",type = IdType.AUTO)
    @Excel(name = "编号")
    private Long documentId;
    @Excel(name = "单据编号")
    private String documentNumber;
//    @Excel(name = "编号")
    private String vendorName;
    @Excel(name = "采购金额")
    private String procurementAmount;
    @Excel(name = "仓库")
    private String warehouse;
    @Excel(name = "制单人")
    private String makeSingle;
    @Excel(name = "采购单状态")
    private String state;
    @Excel(name = "制单时间")
    private Date systemTime;

    private Date arrivalTime;

    private String procurementFreight;

    private String prepaidAmount;

    private String otherFees;

    private String billingMethod;

    private String goodsSubtotal;

    private String goodsDiscount;

    private String annex;

    private String remark;

    private Long documentNum;

    @TableField(exist = false)
    private String strName;

    @TableField(exist = false)
    private String startDate;//开始时间
    @TableField(exist = false)
    private String endDate;//结束时间
    @TableField(exist = false)
    private List<Long> suppIds;//新增(新增修改)

    @TableField(exist = false)
    private String strSupp;//数据库角色编号(回显使用)



}